Disk full (/tmp/#sql_313e2c_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
select *, p.anyoDesde 'desde', case when p.anyoHasta= '3000' then 'presente' else p.anyoHasta end 'hasta', tp.tpPubl,i.archivo,l.localidad,l.latitud,l.longitud, tpDifusion,i.pie from publicaciones p left join tipospubl tp on tp.PKtpPubl=p.FKtpPubl left join imagenes i on i.FKrespCabeImpr=p.FKcabecera and i.FKgrupoimg = 2 left join localidades l on l.PKlocalidad=p.FKlocalidad left join tiposdifusiones tdf on tdf.PKtpDifusion=p.FKtpDifusion where FKcabecera in(select FKcabecera from publicaciones where PKpubl='1441') group by PKpubl order by p.FKtpEpoca